package com.zucc.controller.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author : charspan
 * @Description :
 * @create : 2021-12-05 4:57 下午
 */
@Data
@ApiModel("通知信息返回值")
public class NoticeResp {

    @ApiModelProperty(value = "通知编号", required = true)
    private Long id;

    @ApiModelProperty(value = "创建时间", required = true)
    private Date createTime;

    @ApiModelProperty(value = "最后修改时间", required = true)
    private Date modifyTime;

    @ApiModelProperty(value = "通知类型（枚举），0:普通，1:告警，2:重要", required = true)
    private Integer type;

    @ApiModelProperty(value = "通知标题", required = true)
    private String title;

    @ApiModelProperty(value = "通知内容", required = true)
    private String content;

    @ApiModelProperty(value = "通知发送方", required = true)
    private String sender;

    @ApiModelProperty(value = "通知发送时间", required = true)
    private String sendDate;
}
